// const arr = (new Array(7)).fill([]); //[]引用式赋值
// arr[0][0] = 1;
// console.log(arr);
const arr = new Array(7);
for (let i = 0; i < arr.length; i++) {
    arr[i] = (new Array(7)).fill(1);
}
console.log(arr);